package edu.biwu.mapper;

import edu.biwu.po.Student;
import edu.biwu.vo.QueryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {

    List<Student> selectByCondition(QueryVo queryVo);

    List<Student> selectBySnos(QueryVo queryVo);

    List<Student> selectStudentByChoose(@Param("sno") Integer sno, @Param("sname") String sname);

    List<Student> selectByTrim(@Param("sno") Integer sno, @Param("sname") String sname);

    int updateStudent(Student student);

    int selectCount(QueryVo queryVo);
}
